export default {
  data () {
    return {
      //   xxxxx: 123456
    }
  },
  methods: {
    isShowBtn (code) {
      return (
        this.$store.state.user.userInfo.roles &&
        this.$store.state.user.userInfo.roles.points.includes(code)
      )
    }
  }
}
